
<!-- Plugin Stylesheets first to ease overrides -->
<link rel="stylesheet" type="text/css" href="/profiles/plugins/colorpicker/colorpicker.css" media="screen">
<link rel="stylesheet" type="text/css" href="/profiles/custom-plugins/picklist/picklist.css" media="screen">
<link rel="stylesheet" type="text/css" href="/profiles/plugins/select2/select2.css" media="screen">
<link rel="stylesheet" type="text/css" href="/profiles/plugins/ibutton/jquery.ibutton.css" media="screen">
<link rel="stylesheet" type="text/css" href="/profiles/plugins/cleditor/jquery.cleditor.css" media="screen">

<!-- Required Stylesheets -->
<link rel="stylesheet" type="text/css" href="/profiles/bootstrap/css/bootstrap.min.css" media="screen">
<link rel="stylesheet" type="text/css" href="/profiles/css/fonts/ptsans/stylesheet.css" media="screen">
<link rel="stylesheet" type="text/css" href="/profiles/css/fonts/icomoon/style.css" media="screen">

<link rel="stylesheet" type="text/css" href="/profiles/css/mws-style.css" media="screen">
<link rel="stylesheet" type="text/css" href="/profiles/css/icons/icol16.css" media="screen">
<link rel="stylesheet" type="text/css" href="/profiles/css/icons/icol32.css" media="screen">

<!-- Demo Stylesheet -->
<link rel="stylesheet" type="text/css" href="/profiles/css/demo.css" media="screen">

<!-- jQuery-UI Stylesheet -->
<link rel="stylesheet" type="text/css" href="/profiles/jui/css/jquery.ui.all.css" media="screen">
<link rel="stylesheet" type="text/css" href="/profiles/jui/jquery-ui.custom.css" media="screen">

<!-- Theme Stylesheet -->
<link rel="stylesheet" type="text/css" href="/profiles/css/mws-theme.css" media="screen">
<link rel="stylesheet" type="text/css" href="/profiles/css/themer.css" media="screen">
<title>相册</title>
<div class="mws-panel grid_8">
 	<div class="mws-panel-header">
     	<span>上传图像</span>
     </div>
     <div class="mws-panel-body no-padding">
     	<form class="mws-form" action="/profile" method="post" enctype="multipart/form-data">
     		<div class="mws-form-inline">
                    <div class="mws-form-row">
                         <label class="mws-form-label">相册</label>
                         <div class="mws-form-item">
                             <select class="small" name="pid">
                                 <option>请选择相册</option>
                                 @foreach($data as $value)
                                 <option value="{{$value->pid}}">{{$value -> name}}</option>
                                 @endforeach
                             </select>
                         </div>
                     </div>
     			<div class="mws-form-row">
     				<label class="mws-form-label">图片标题</label>
     				<div class="mws-form-item">
     					<input type="text" name="title"  class="small">
     				</div>
     			</div>
     			<div class="mws-form-row">
     				<label class="mws-form-label">图片</label>
     				<div class="mws-form-item">
     					<input type="file" name="img" class="small">
     				</div>
     			</div>
     		<div class="mws-button-row">
                    {{csrf_field()}}
     			<input type="submit" value="Submit" class="btn btn-danger">
     			<input type="reset" value="Reset" class="btn ">
     		</div>
     	</form>
     </div>    	
 </div>